<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" href="../stylesheets/banner/shorttv.css">
    <title>录下你的跨年这一瞬</title>
    <script>
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?146c2270a133dc35d26c49738dc5bd28";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
  </head>
  <body>
    <div class="container">
      <img src="../images/banner/shorttv_bg.png" alt="" class="img-shorttv">
      <img src="../images/banner/download_app.png" alt="" class="img-download img-move">
    </div>
  </body>
  <script src="../javascripts/jquery-1.10.1.min.js"></script>
  <script src="../javascripts/jweixin-1.0.0.js"></script>
  <script type="text/javascript">
  var shareData = {
    title : '每年录下跨年的这一瞬，10年后合成视频会怎样？',
    desc : '录下你的2017第一秒，还有新年礼物相送哦！',
    imgUrl : '<%=browserUrl%>'+'/images/banner/share.jpg',
    link : '<%=browserUrl%>'+'/banner/shorttv',
  };
  var wxConfig = {
    appId : '<%=appId%>',
    timestamp : '<%=timestamp%>',
    nonceStr : '<%=nonceStr%>',
    signature : '<%=signature%>'
  }
  </script>
  <script type="text/javascript">
  //监听下载app
  $('.img-download').on('click', function() {
    _hmt.push(['_trackEvent', 'download_app', 'click', '0']);
  });

  $('.img-download').on('click',function () {
    window.location.href='http://a.app.qq.com/o/simple.jsp?pkgname=com.lalocal.lalocal';
  })

  $(function () {
    var isApp = '<%=isApp%>';
    if(isApp == 'true'){
      $('.img-download').hide();
    }else{
      $('.img-download').show();
    }
  })
  </script>
  <script src="../javascripts/base.js"></script>
</html>
